/**
 * output package name
 */
package com.kingdee.eas.ec.project.plan;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WorkTypeEnum extends StringEnum
{
    public static final String VSCONSTRUCT_VALUE = "1";
    public static final String ROUTINESERVER_VALUE = "2";
    public static final String TEMPADD_VALUE = "3";

    public static final WorkTypeEnum vsConstruct = new WorkTypeEnum("vsConstruct", VSCONSTRUCT_VALUE);
    public static final WorkTypeEnum routineServer = new WorkTypeEnum("routineServer", ROUTINESERVER_VALUE);
    public static final WorkTypeEnum tempAdd = new WorkTypeEnum("tempAdd", TEMPADD_VALUE);

    /**
     * construct function
     * @param String workTypeEnum
     */
    private WorkTypeEnum(String name, String workTypeEnum)
    {
        super(name, workTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WorkTypeEnum getEnum(String workTypeEnum)
    {
        return (WorkTypeEnum)getEnum(WorkTypeEnum.class, workTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WorkTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WorkTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WorkTypeEnum.class);
    }
}